Skip to content

Conversation

jonadv
Copy link

@jonadv jonadv commented May 14, 2021

When converting a JSON value of type VBA.vbDate, the time value is converted to ISO format, thus adjusting the local time to global time (adding or substracting a few hours). However, when parsing the same json result back, the time unit stays in global time unit. By adding this line of code the conversion happens both ways. See also extended comment here: #169 (comment)

When converting data to a JSON values of type VBA.vbDate, datetimes are converted to ISO format, thus adjusting the local time to global time. However, when parsing the same json result back, the time unit stays in global time unit. By adding this line of code the conversion happens both ways. See also extended comment here: VBA-tools#169 (comment)
@ReneNyffenegger
Copy link

I second this pull request (but I am also not sure if this repository is abandoned as the last commit is 5 years old)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants